Dynomotion

Group: DynoMotion Message: 990 From: Allen Date: 3/24/2011
Subject: Analog Input
I have an LVDT (Macro Sensors GHSE 750-1000) connected to ADC0 on JP6 and using my meter I can read a change from 0 to 10v. However on the Analog I/O screen in Kmotion I get no response. Also issuing ADC0 in the console always reports a value of 0. I have the DC out from the LVDT on input 0 and the common going to GND on this same header.

Thanks,
Allen
Group: DynoMotion Message: 991 From: Tom Kerekes Date: 3/24/2011
Subject: Re: Analog Input
Hi Allen,
 
It sounds like Kanalog is not working.  Is the LED on?  Even an unconnected input will not normally read exactly zero.
 
A common problem that will stop Kanalog from working is to configure any of the pins used on J7 to communicate with Kanalog as outputs.  Configuring an axis as Step/Dir on JP7 will also cause Kanalog to fail. 
 
There is a bug in V4.23 where the console ADC commands always report zero.  But the Analog Screen should show the correct value.  Also if the ADC is mapped as an Axis input then the ADC value will report as the Axis Position.
 
Regards
TK 

Group: DynoMotion Message: 992 From: Allen Date: 3/24/2011
Subject: Re: Analog Input
Yes, the LED is on.

I have not (to my knowledge :) ) configured anything on JP7. I use JP5 solely for my Step/Dir signals (which is used straight out of the kflop so the small cable from Jp5 to Jp9 has been removed)

I have not mapped any of the ADC inputs. All channels (#0-#7) on Analog I/O screen are reading -2048 = -10.000 volts with or without the LVDT connected. I have tried each input with the same result.

Allen


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Allen,
>
> It sounds like Kanalog is not working.  Is the LED on?  Even an unconnected
> input will not normally read exactly zero.
>
> A common problem that will stop Kanalog from working is to configure any of the
> pins used on J7 to communicate with Kanalog as outputs.  Configuring an axis as
> Step/Dir on JP7 will also cause Kanalog to fail. 
>
> There is a bug in V4.23 where the console ADC commands always report zero.  But
> the Analog Screen should show the correct value.  Also if the ADC is mapped as
> an Axis input then the ADC value will report as the Axis Position.
>
> Regards
> TK 
>
>
>
>
> ________________________________
> From: Allen <agray@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, March 24, 2011 9:10:08 AM
> Subject: [DynoMotion] Analog Input
>
>  
> I have an LVDT (Macro Sensors GHSE 750-1000) connected to ADC0 on JP6 and using
> my meter I can read a change from 0 to 10v. However on the Analog I/O screen in
> Kmotion I get no response. Also issuing ADC0 in the console always reports a
> value of 0. I have the DC out from the LVDT on input 0 and the common going to
> GND on this same header.
>
> Thanks,
> Allen
>
Group: DynoMotion Message: 993 From: Allen Date: 3/24/2011
Subject: Re: Analog Input
never mind...i cycled power to the board and i get a reading!!!



--- In DynoMotion@yahoogroups.com, "Allen" <agray@...> wrote:
>
> Yes, the LED is on.
>
> I have not (to my knowledge :) ) configured anything on JP7. I use JP5 solely for my Step/Dir signals (which is used straight out of the kflop so the small cable from Jp5 to Jp9 has been removed)
>
> I have not mapped any of the ADC inputs. All channels (#0-#7) on Analog I/O screen are reading -2048 = -10.000 volts with or without the LVDT connected. I have tried each input with the same result.
>
> Allen
>
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Allen,
> >
> > It sounds like Kanalog is not working.  Is the LED on?  Even an unconnected
> > input will not normally read exactly zero.
> >
> > A common problem that will stop Kanalog from working is to configure any of the
> > pins used on J7 to communicate with Kanalog as outputs.  Configuring an axis as
> > Step/Dir on JP7 will also cause Kanalog to fail. 
> >
> > There is a bug in V4.23 where the console ADC commands always report zero.  But
> > the Analog Screen should show the correct value.  Also if the ADC is mapped as
> > an Axis input then the ADC value will report as the Axis Position.
> >
> > Regards
> > TK 
> >
> >
> >
> >
> > ________________________________
> > From: Allen <agray@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thu, March 24, 2011 9:10:08 AM
> > Subject: [DynoMotion] Analog Input
> >
> >  
> > I have an LVDT (Macro Sensors GHSE 750-1000) connected to ADC0 on JP6 and using
> > my meter I can read a change from 0 to 10v. However on the Analog I/O screen in
> > Kmotion I get no response. Also issuing ADC0 in the console always reports a
> > value of 0. I have the DC out from the LVDT on input 0 and the common going to
> > GND on this same header.
> >
> > Thanks,
> > Allen
> >
>
Group: DynoMotion Message: 994 From: Tom Kerekes Date: 3/24/2011
Subject: Re: Analog Input
All channels reading -2048 sounds bad.  Try cycling power on KFLOP to put it in the default configuration, then look at the Analog Screen.  If you have flashed User Memory you should re-flash V4.23 to be sure nothing is being configured.
 
TK

Group: DynoMotion Message: 995 From: Allen Date: 3/24/2011
Subject: Re: Analog Input
OK, everything was fine until I started mach which executed my init c program. I have four motors configured, all step/dir. As soon as the program initializes the Analog I/O's read -2048 = -10.000.

Can I not use JP5 as step/dir and use ADC? This is not good if that is the case.

Allen




--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> All channels reading -2048 sounds bad.  Try cycling power on KFLOP to put it in
> the default configuration, then look at the Analog Screen.  If you have flashed
> User Memory you should re-flash V4.23 to be sure nothing is being configured.
>
> TK
>
>
>
>
> ________________________________
> From: Allen <agray@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, March 24, 2011 10:57:36 AM
> Subject: [DynoMotion] Re: Analog Input
>
>  
> Yes, the LED is on.
>
> I have not (to my knowledge :) ) configured anything on JP7. I use JP5 solely
> for my Step/Dir signals (which is used straight out of the kflop so the small
> cable from Jp5 to Jp9 has been removed)
>
> I have not mapped any of the ADC inputs. All channels (#0-#7) on Analog I/O
> screen are reading -2048 = -10.000 volts with or without the LVDT connected. I
> have tried each input with the same result.
>
> Allen
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Allen,
> >
> > It sounds like Kanalog is not working.  Is the LED on?  Even an unconnected
> > input will not normally read exactly zero.
> >
> > A common problem that will stop Kanalog from working is to configure any of the
> >
> > pins used on J7 to communicate with Kanalog as outputs.  Configuring an
> >axis as
> >
> > Step/Dir on JP7 will also cause Kanalog to fail. 
> >
> > There is a bug in V4.23 where the console ADC commands always report zero. 
> >But
> >
> > the Analog Screen should show the correct value.  Also if the ADC is mapped as
> >
> > an Axis input then the ADC value will report as the Axis Position.
> >
> > Regards
> > TK 
> >
> >
> >
> >
> > ________________________________
> > From: Allen <agray@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thu, March 24, 2011 9:10:08 AM
> > Subject: [DynoMotion] Analog Input
> >
> >  
> > I have an LVDT (Macro Sensors GHSE 750-1000) connected to ADC0 on JP6 and using
> >
> > my meter I can read a change from 0 to 10v. However on the Analog I/O screen in
> >
> > Kmotion I get no response. Also issuing ADC0 in the console always reports a
> > value of 0. I have the DC out from the LVDT on input 0 and the common going to
>
> > GND on this same header.
> >
> > Thanks,
> > Allen
> >
>
Group: DynoMotion Message: 996 From: Allen Date: 3/24/2011
Subject: Re: Analog Input
OK, I narrowed it down to the output channel that I had configured for the Z axis. I do not have a physical Z axis at the moment but I have to configure for later use and didnt really bother with checking which channel is was using. Soon I will bring this axis online as an analog axis (Xand Y will stay as Step/Dir). Do you foresee any problems with this?

Thanks,
Allen




--- In DynoMotion@yahoogroups.com, "Allen" <agray@...> wrote:
>
> OK, everything was fine until I started mach which executed my init c program. I have four motors configured, all step/dir. As soon as the program initializes the Analog I/O's read -2048 = -10.000.
>
> Can I not use JP5 as step/dir and use ADC? This is not good if that is the case.
>
> Allen
>
>
Group: DynoMotion Message: 997 From: Tom Kerekes Date: 3/24/2011
Subject: Re: Analog Input
Good work.  As long as Z is not configured as Step/Dir channel 0-3 there should be no conflict.
 
Thanks
TK